<div class="modal fade" id="dlgChangePassword" role="dialog" aria-labelledby="dlgChangePassword" aria-hidden="true" ng-controller="adminCtrl">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
				<h4 class="modal-title">Cambiar contrase&ntilde;a</h4>
			</div>
			<div class="modal-body">
				<div ng-include="'/Leaderboard/include/modalMessages.html'"></div>
				<form id="chgPwdForm" name="chgPwdForm" class="form-horizontal" role="form">
					<div class="form-group">
						<label for="txtClaveAnt" class="col-sm-4 control-label">Clave anterior</label>
						<div class="col-sm-8">
							<input id="txtClaveAnt" name="claveAnt" class="form-control" type="password" maxlength="45" width="45" 
									ng-model="changePasswordData.currentPassword" autofocus required ng-disabled="loading" />
						</div>
					</div>
					<div class="form-group">
						<label for="txtClave" class="col-sm-4 control-label">Nueva clave</label>
						<div class="col-sm-8">
							<input id="txtClave" name="clave" class="form-control" type="password" maxlength="45" width="45" 
									ng-model="changePasswordData.newPassword" required ng-disabled="loading" />
						</div>
					</div>
					<div class="form-group">
						<label for="txtClave" class="col-sm-4 control-label">Repetir Nueva clave</label>
						<div class="col-sm-8">
							<input id="txtClave2" name="clave2" class="form-control" type="password" maxlength="45" width="45" 
									ng-model="changePasswordData.newPassword2" required ng-disabled="loading" />
						</div>
					</div>
				</form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
				<button type="button" class="btn btn-primary" ng-click="changePassword()" ng-disabled="chgPwdForm.$invalid">Guardar cambios</button>
			</div>
		</div>
	</div>
</div>